# coding: utf-8

class ResultCode:
    def __init__(self, code, msg):
        self.code = code
        self.msg = msg


class BizException(Exception):
    def __init__(self, code, msg, error):
        self.code = code
        self.msg = msg
        self.error = error


not_exist = ResultCode(404, '资源不存在')
